//
//  BaseNavigationViewController.m
//  FirstProject
//
//  Created by 戴庆云 on 15/9/14.
//  Copyright (c) 2015年 dqy. All rights reserved.
//

#import "BaseNavigationViewController.h"

@interface BaseNavigationViewController ()

@end

@implementation BaseNavigationViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    //设置导航栏的背景图片
//    UIImage * navigationBGImage = [UIImage imageNamed:@"导航栏.png"];
//
//    CGImageRef imageRef = CGImageCreateWithImageInRect(navigationBGImage.CGImage, CGRectMake(160, 0, kScreenWidth, 30));
//    [self.navigationBar setBackgroundImage:[UIImage imageWithCGImage:imageRef] forBarMetrics:UIBarMetricsDefault];
//    
//    //释放
//    CGImageRelease(imageRef);
//    [self.navigationController.navigationBar setBarTintColor:[UIColor colorWithRed:129/255.0 green:241/255.0 blue:141/255.0 alpha:1.0]];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
